From 266fddd0774040096739bf225267f885cfb6b675 Mon Sep 17 00:00:00 2001 From: David Vrabel Date: Fri, 8 May 2015 12:21:17 +0200 Subject: [PATCH] x86: reduce struct paging_domain size Pack struct paging_domain to reduce it by 8 bytes. Thus reducing the size of struct domain by 8 bytes. Signed-off-by: David Vrabel --- xen/include/asm-x86/domain.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/include/asm-x86/domain.h b/xen/include/asm-x86/domain.h index 3f83e8ba59..45b5283d8d 100644 --- a/xen/include/asm-x86/domain.h +++ b/xen/include/asm-x86/domain.h @@ -186,6 +186,8 @@ struct paging_domain { /* flags to control paging operation */ u32 mode; + /* Has that pool ever run out of memory? */ + bool_t p2m_alloc_failed; /* extension for shadow paging support */ struct shadow_domain shadow; /* extension for hardware-assited paging */ @@ -210,8 +212,6 @@ struct paging_domain { * (used by p2m and log-dirty code for their tries) */ struct page_info * (*alloc_page)(struct domain *d); void (*free_page)(struct domain *d, struct page_info *pg); - /* Has that pool ever run out of memory? */ - bool_t p2m_alloc_failed; }; struct paging_vcpu { -- 2.30.2